
import React from 'react';
import { Input } from 'antd';

const App = (props: any) => {

  const { options, onChange, value, inEditInitVal } = props;

  return inEditInitVal ? <Input size='small' value={value} onChange={onChange} /> : <span>{value !== undefined && value !== null ? value : options?.text}</span>;
};

export default App;
